package com.cjg.winter.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.ToString;


@Getter
@ToString
@AllArgsConstructor
public enum ResponseEnum {
    SUCCESS(0,"成功"),
    ERROR(-1,"失败"),
    ERROR10001(-99,"用户名已存在"),
    ERROR10002(-100002,"邮箱已注册"),
    ERROR10003(-100003,"账号或密码错误");

    private Integer code;
    private String message;
}
